package com.day01;

public class Dog2 {
    private final int id  = 29;
    private final String name;
    private final int age;
    private final String gender;

    public int getId() {
        return this.id;
    }

    public String name() {
        return this.name;
    }

    public int age() {
        return this.age;
    }

    public String gender() {
        return this.gender;
    }

    public Dog2(int id, final String name, final int age, final String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
}